package zerous.modpeeditor;

import android.app.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.view.View.*;
import android.content.*;

public class StartActivity extends Activity
{
	Button editmode,about,methods;
	@Override
    public void onCreate(Bundle savedInstanceState)
	{
        super.onCreate(savedInstanceState);
        setContentView(R.layout.start);
		methods = (Button)findViewById(R.id.methods);
		editmode = (Button)findViewById(R.id.editmode);
		about = (Button)findViewById(R.id.about);
		//ad = (AdView)findViewById(R.id.adView);
		editmode.setOnClickListener(new OnClickListener()
		{
			@Override
			public void onClick(View v)
			{
				Intent intent = new Intent(StartActivity.this,MainActivity.class);
				startActivity(intent);
				StartActivity.this.finish();
			}
		});
		methods.setOnClickListener(new OnClickListener()
		{
				@Override
				public void onClick(View v)
				{
					Intent intent = new Intent(StartActivity.this,Methods.class);
					startActivity(intent);
				}
		});
		about.setOnClickListener(new OnClickListener()
		{
				@Override
				public void onClick(View v)
				{
					Intent intent = new Intent(StartActivity.this,About.class);
					startActivity(intent);
				}
		});
	}
}
